package com.framework.boc.response;

public enum ResponseEnum {

    SUCCESS(200, "success!"),

    ERROR(500, "error!"),

    ACCESS_DENIED(403, "access denied!"),

    ;


    private int code;

    private String message;

    ResponseEnum(int code, String message) {
        this.code = code;
        this.message = message;
    }

    public int getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
